<?php
include("../config/config.php");

?>
<!doctype>

<html>
<meta charset=utf-8 />
<head>
<style>
*{list-style:none;}
.acd{width:80%;float:left;}
.acd li{float:left;}
.acd li:nth-child(1){width:60%;}
.acd li:nth-child(3){margin-left:20px;}
</style>
</head>
<body>
<?
header("content-type:text;charset=utf-8");
$mysqli=new mysqli("localhost","root","root","smu");
$result=mysqli_query($mysqli,"select  * from  ss    ");
while($res=mysqli_fetch_array($result)){
echo("<div class='acd'><li>".$res[title]."</li>");
echo ("<li><a href='/app/active_url.php?name=$res[sid]'> 修改 </a></li>");
echo ("<li><a href='/app/active_del.php?name=$res[sid]'> 删除 </a></li></div>");
//echo $res[body];
}

?>

</body>
</html>